package com.marlsite.datadrivendeco;

import com.marlsite.datadrivendeco.data.PrimitiveDataLoader;

import net.minecraftforge.event.server.ServerStartingEvent;
import net.minecraftforge.eventbus.api.SubscribeEvent;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.Mod.EventBusSubscriber.Bus;

@Mod.EventBusSubscriber(modid = DataDrivenDeco.MODID, bus = Bus.FORGE)
public class ServerEventHandler {
    @SubscribeEvent
    public static void onServerStarting(ServerStartingEvent event) {
        PrimitiveDataLoader.loadPrimitiveDefinitions();
    }
}
